/**
 *
 * @author 
 *
 */
class EventCenter extends egret.EventDispatcher {
	public constructor() {
    	super();
	}
    public static XUANPAI:string = "xuanpai";
    private static _me: EventCenter;
    public static get me(): EventCenter {
        if(EventCenter._me == null) {
            EventCenter._me = new EventCenter();
        }
        return EventCenter._me;
    }
	
}

class GlobalEvent extends egret.Event{
    public constructor(ename:string,eobj:any=null) {
        super(ename,false,false,eobj);
        this.eventName=ename;
        this.eventObj = eobj;
    }
    public eventName:string; 
    public eventObj:any; 
}
